package com.monkeyboy.second.threadpool;

/**
 * @Description
 * @Author Gavin
 * @date 2020.04.27 14:47
 */
public class Task implements Runnable {
    @Override
    public void run() {
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println(Thread.currentThread().getName());
    }
}